<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>基本信息</title>
<meta name="keywords" content=""/>
<meta name="description" content=""/>
<meta http-equiv="X-UA-Compatible" content="IE=7"/>
<link rel="stylesheet" type="text/css" href="css/reset.css" />
<link rel="stylesheet" type="text/css" href="css/myresume.css" />
</head><body>

    <form method="post" action="/resume/basic/edit" id="basic-form">
    <input type="hidden" value="do" name="method">
    <input type="hidden" value="" name="photo">

</form>




<form action="?" method="post" onsubmit="return Zvalidator.checkForm(this)">
<div class="inputdiv clearfix">


    <table width="100%" class="form">
        <colgroup><col width="137">
        <col width="12">
        </colgroup><tbody><tr>
            <td class="label">姓名:</td>
            <td class="aster">*</td>
            <td class="input">
                <input type="text" value="<?=$dataInfo['trueName']?>" name="item[trueName]"  id="trueName" validator="require" />
            </td>
        </tr>
        <tr>
            <td class="label">性别:</td>
            <td class="aster">*</td>
            <td class="input">
              <label><input type="radio" value="1" name="item[sex]" <?=$dataInfo['sex']=='1' || empty($dataInfo['sex']) ? ' checked="true" ' : ''?>/>男</label>
              <label><input type="radio" value="2" name="item[sex]" <?=$dataInfo['sex']=='2' ? ' checked="true" ' : ''?>/>女</label>

            </td>
        </tr>
        <tr>
            <td class="label">出生日期:</td>
            <td class="aster">*</td>
            <td class="input">
        <select name="item[birthYear]" id="birthYear">
        <option value="0">请选择</option>
        <?php
        for($i=1976 ;$i<=1998;$i++){
            $selCss = $i == $dataInfo['birthYear'] ? ' selected ':'';
            echo '<option value="'.$i.'"'.$selCss.'>'.$i.'</option>';
        }
        ?></select> 年
        <select  name="item[birthMonth]" id="birthMonth">
        <option value="0">请选择</option><?php
        for($i=1 ;$i<=12;$i++){
            $selCss = $i == $dataInfo['birthMonth'] ? ' selected ':'';
            echo '<option value="'.$i.'"'.$selCss.'>'.$i.'</option>';
        }
        ?></select> 月
        <select name="item[birthDay]" id="birthDay">
        <option value="0">请选择</option><?php
        for($i=1 ;$i<=31;$i++){
            $selCss = $i == $dataInfo['birthDay'] ? ' selected ':'';
            echo '<option value="'.$i.'"'.$selCss.'>'.$i.'</option>';
        }
        ?></select> 日
            </td>
        </tr>
        <tr>
            <td class="label">当前所在地:</td>
            <td class="aster">*</td>
            <td id="livecity-linkup" class="input">

                <select id="birthProv" name="item[birthProv]">
                    <option value="0">请选择</option>
                    <?=$birthProvOptions?>
                </select>
                <select name="item[birthCity]" id="birthCity">
                    <option value="0">请选择</option>
                    <?=$birthCityOptions?>
                </select>
            </td>
        </tr>
        <tr>
           <td class="label">户口所在地:</td>
           <td class="aster">*</td>
           <td id="domicile-linkup" class="input">
                <select id="regProv" name="item[regProv]">
                    <option value="0">请选择</option>
                    <?=$regProvOptions?>
                </select>
                <select name="item[regCity]" id="regCity">
                    <option value="0">请选择</option>
                    <?=$regCityOptions?>
                </select>
            </td>
        </tr>
        <tr>
            <td class="label">电子邮件:</td>
            <td class="aster">*</td>
            <td class="input">
                <input type="text" value="<?=$userUcInfo['email']?>" name="mail"  id="mail" validator="require"/>
            </td>
        </tr>
        <tr>
            <td class="label">手机:</td>
            <td class="aster">*</td>
            <td class="input">
                <input type="text" value="<?=$dataInfo['mobile']?>" name="item[mobile]"  id="mobile" validator="require"/>
            </td>
        </tr>
        <tr>
            <td class="label">住宅电话:</td>
            <td></td>
            <td class="input">
                 <input type="text" value="<?=$dataInfo['tel']?>" name="item[tel]"  id="tel" />
            </td>
        </tr>
        <tr>
            <td class="label">QQ:</td>
            <td></td>
            <td class="input">
                <input type="text" value="<?=$dataInfo['qq']?>" name="item[qq]"  id="qq" />
                &nbsp;&nbsp;MSN: <input type="text" value="<?=$dataInfo['msn']?>" name="item[msn]"  id="msn" />
            </td>
        </tr>
        <tr>
            <td class="label">通信地址:</td>
            <td></td>
            <td class="input">
                 <input type="text" value="<?=$dataInfo['addr']?>" name="item[addr]"  id="addr" />
                 &nbsp;&nbsp;邮政编码: <input type="text" value="<?=$dataInfo['zip']?>" name="item[zip]"  id="zip" style="width:80px"/>
           </td>
        </tr>
        <tr>
            <td class="label">婚姻状况:</td>
            <td></td>
            <td class="input">
              <label><input type="radio" value="1" name="item[mary]" <?=$dataInfo['mary']=='1' || empty($dataInfo['mary']) ? ' checked="true" ' : ''?>/>未婚</label>
              <label><input type="radio" value="2" name="item[mary]" <?=$dataInfo['mary']=='2' ? ' checked="true" ' : ''?>/>已婚</label>
              <label><input type="radio" value="3" name="item[mary]" <?=$dataInfo['mary']=='3' ? ' checked="true" ' : ''?>/>离异</label>

            </td>
        </tr>
        <tr>
            <td class="label">身份证号:</td>
            <td></td>
            <td class="input">
                 <input type="text" value="<?=$dataInfo['idCard']?>" name="item[idCard]"  id="idCard" />
            </td>
        </tr>
        <tr>
            <td class="label">政治面貌:</td>
            <td></td>
            <td class="input">
                <label><input type="radio" value="1" name="item[isParty]" <?=$dataInfo['isParty']=='1' || empty($dataInfo['isParty']) ? ' checked="true" ' : ''?>/>党员</label>
                <label><input type="radio" value="2" name="item[isParty]" <?=$dataInfo['isParty']=='2' ? ' checked="true" ' : ''?>/>团员</label>
                <label><input type="radio" value="3" name="item[isParty]" <?=$dataInfo['isParty']=='3' ? ' checked="true" ' : ''?>/>群众</label>
                <label><input type="radio" value="4" name="item[isParty]" <?=$dataInfo['isParty']=='4' ? ' checked="true" ' : ''?>/>民主党派</label>
                <label><input type="radio" value="5" name="item[isParty]" <?=$dataInfo['isParty']=='5' ? ' checked="true" ' : ''?>/>其它</label>
           </td>
        </tr>
        <tr>
            <td class="label">到岗时间:</td>
            <td></td>
            <td class="input">
                <select name="item[canReach]" id="canReach" class="select">
                    <option value="0">请选择</option>
                    <option value="1" <?=$dataInfo['canReach']=='1'?' selected ':''?>>1周内</option>
                    <option value="2" <?=$dataInfo['canReach']=='2'?' selected ':''?>>1个月内</option>
                    <option value="3" <?=$dataInfo['canReach']=='3'?' selected ':''?>>1～3个月</option>
                    <option value="4" <?=$dataInfo['canReach']=='4'?' selected ':''?>>3个月以上</option>
                    <option value="5" <?=$dataInfo['canReach']=='5'?' selected ':''?>>面议</option>
                </select>
            </td>
        </tr>
    </tbody></table>



</div>
<div class="inputdiv_btn">
    <button type="submit" class="big-default" ><span><span>确 定</span></span></button>
    <button class="normal" type="button" onclick="self.parent.tb_remove()"><span><span>取消</span></span></button>
</div>
<input type="hidden" value="MyResume" name="c"/>
<input type="hidden" value="BaseInfoEdit" name="a"/>
<input type="hidden" value="<?=$uid?>" name="uid"/>
<input type="hidden" value="<?=empty($dataInfo) ? 1 : 0 ?>" name="isAdd"/>

</form>
<script language="javascript" src="js/jquery.js"></script>
<script language="javascript" src="js/validator.js"></script>
<script language="javascript" src="js/jquery.cascade.js"></script>
<script language="javascript" src="js/jquery.cascade.ext.js"></script>
<script language="javascript">
$("#birthCity").cascade("#birthProv",{
	ajax: {url: '?c=Ajax&a=SelectRel&modId=1' }
});
$("#regCity").cascade("#regProv",{
	ajax: {url: '?c=Ajax&a=SelectRel&modId=1' }
});

 </script>
<script>
Zvalidator.init();
</script>
</body>

</html>